package com.axjy.comm.vo;

import lombok.Data;

@Data
public class Result {

    private boolean success;
    private String errorCode;
    private String msg;
    private Object data;

    public static Result success(Object data){
        Result result=new Result();
        result.setSuccess(true);
        result.setErrorCode("0000");
        result.setData(data);
        return result;
    }

}
